/*
 * KmyStructDef.h
 *
 *  Created on: 2012-12-10
 *      Author: KamiyaSoft
 */

#ifndef __KMYSTRUCTDEF_H_
#define __KMYSTRUCTDEF_H_

#include "KmyTypedef.h"

typedef struct {
	s32 x;
	s32 y;
}Point2D;

typedef struct {
	s32 x;
	s32 y;
	s32 z;
}Point3D;

typedef struct {
    int x;
    int y;
    int w;
    int h;
}St_Rect;

typedef struct {
    u8* buff;
    int size;
}St_Buff;

typedef struct {
    int x, y, w, h;
    int flip;
}St_Rect2;

typedef struct {
    float x1, y1;
    float x2, y2;
    float x3, y3;
}St_Triangle;

typedef struct {
    u16* buff;
    int size;
}St_Ucs2String;

#endif /* KMYSTRUCTDEF_H_ */
